package com.framework.boc.statistics.request.vo;


import java.io.Serializable;

/**
 * 分页查询条件
 *
 * @param <E> 条件实体类型
 * @author Leil
 * @since 2020-7-9
 */
public class PageCondition<E> implements Serializable {
    private static final long serialVersionUID = 549769758330561389L;

    /**
     * 当前第几页
     */
    private int current = 1;

    /**
     * 每页多少条数据
     */
    private int size = 10;

    /**
     * 条件实体
     */
    private E condition;

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public E getCondition() {
        return condition;
    }

    public void setCondition(E condition) {
        this.condition = condition;
    }
}
